package com.twu.biblioteca;


public class Initialize {
    public static Book[] initializeBooks () {
        Book[] books = new Book[5];
        books[0] = new Book(1, "java", "abc", "mgh");
        books[1] = new Book(2, "c++", "def", "ibmp");
        books[2] = new Book(3, "os", "hij", "or");
        books[3] = new Book(4, "cd", "lmn", "mgh");
        books[4] = new Book(5, "ds", "pqr", "mgh");
        return books;
    }

    public static Movies[] initializeMovie () {
        Movies[] movie = new Movies[15];
        movie[0] = new Movies(1, "Sholay",1995,"Shippy",2);
        movie[1] = new Movies(2, "DDLG",1998,"Shippy");
        movie[2] = new Movies(3, "Wolverine",1995,"Delphi");
        movie[3] = new Movies(4, "Sholay",1995,"Shippy",3);
        movie[4] = new Movies(5, "Sholay",1995,"Shippy");
        return movie;
    }

    public static User[] initializeUser () {
        User[] users = new User[5];
        users[0] = new User("Nehashri", "abc", "neha.@ggg", "999999");
        users[1] = new User("Astha", "ddd", "ast.@ggg", "999559");
        users[2] = new User("Ankita", "eee", "ank.@ggg", "966999");
        users[3] = new User("Nitin", "jjj", "nitin@ggg", "666999");
        users[4] = new User("Usha", "bbc", "usha@ggg", "528836");
        return users;
    }
}
